import http from '@/utils/http'

// 学生列表
export const getStudentPage = (params) => http.post('/api/teacher/student/pager', { ...params })

export const getStudentClass = (params) => http.post('/api/teacher/student/addclass', { ...params })

export const deleteclass = (params) => http.post('/api/teacher/student/deleteclass', { ...params })

export const deleteTeacherStudent = (params) => http.post('/api/teacher/student/delete', { ...params })

export const sendsms = (params) => http.post('/api/teacher/student/add/sendsms', { ...params })

export const getStudentDetail = (params) => http.post('/api/teacher/student/info', { ...params })

export const addStudent = (params) => http.post('/api/teacher/student/add', { ...params })

export const updateStudent = (params) => http.post('/api/teacher/student/update', { ...params })

export const deleteStudent = (params) => http.post('/api/student/delete', { ...params })
